<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="robots" content="noarchive">
<link href="/{$_lang.company_path}/template/css/public.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="/{$_lang.company_path}/template/js/jquery.min.js"></script>
<title>{$title}-{$_lang.title}</title>
</head>
<body>

<div id="dcWrap">

{if $module=='login'}
   {include file="lib/login.lbi"}
{else}
 <div id="dcHead">
 <div id="head">
  <div class="logo"><a href="/{$_lang.company_path}/">企业名片管理</a></div>
  <div class="nav">
   <ul>
   {if !$company.is_admin}<li class="M"><a target="_blank" href="{$_lang.host}company/?cid={$cid}">企业首页</a></li>{/if}
    <li><a href="/" target="_blank">游走云端首页</a></li>
   </ul>
  
   <ul class="navRight">
    <li class="M noLeft"><a href="JavaScript:void(0);">您好，{$company.name}</a>
     <div class="drop mUser" {if $company.is_admin==1}style="display:none"{/if}>
      <a href="/{$_lang.company_path}/?m=passwd">修改登录密码</a>
     </div>
    </li>
    <li class="noRight"><a href="/{$_lang.company_path}/?m=logout">退出</a></li>
   </ul>
  </div>
 </div>
</div>
<!-- Head 结束 --> 
<div id="dcLeft">
 <div id="menu">
 <ul class="top">
  <li><a href="/{$_lang.company_path}/"><i class="home"></i><em>管理首页</em></a></li>
 </ul>
 <ul>
  {if $company['is_admin']}
  <li {if $module=='company_type'}class="cur"{/if}><a href="/{$_lang.company_path}/?m=company_type"><i class="articleCat"></i><em>商家类型</em></a></li> 
  <li {if $module=='member'}class="cur"{/if}><a href="/{$_lang.company_path}/?m=member"><i class="user"></i><em>商家管理</em></a></li>
   <li {if $module=='nearby'}class="cur"{/if}><a href="/{$_lang.company_path}/?m=nearby"><i class="link"></i><em>附近景区</em></a></li>
  {/if}
  {if !$company['is_admin']}
  <li {if $module=='setting'}class="cur"{/if}><a href="/{$_lang.company_path}/?m=setting"><i class="system"></i><em>企业设置</em></a></li>
  <li {if $module=='thumb'}class="cur"{/if}><a href="/{$_lang.company_path}/?m=thumb"><i class="show"></i><em>企业相册</em></a></li>  
 </ul>
 <ul>  
  <li {if $module=='new_cat' }class="cur"{/if}><a href="/{$_lang.company_path}/?m=new_cat"><i class="product"></i><em>栏目管理</em></a></li>
  <li {if $module=='news'}class="cur"{/if}><a href="/{$_lang.company_path}/?m=news"><i class="menuPage"></i><em>新闻动态</em></a></li>
  {/if}
 </ul>
 {if !$company['is_admin']}
 <ul>
  <li {if $module=='member'}class="cur"{/if}><a href="/{$_lang.company_path}/?m=member"><i class="nav"></i><em>员工管理</em></a></li>
 </ul>
 {/if}
 <ul class="bot">
  {if !$company['is_admin']}
  <li {if $module=='product_cat'}class="cur"{/if}><a href="/{$_lang.company_path}/?m=product_cat"><i class="productCat"></i><em>商品分类</em></a></li>
  {/if}
  <li {if $module=='comment'}class="cur"{/if}><a href="/{$_lang.company_path}/?m=comment"><i class="guestbook"></i><em>留言管理</em></a></li>
  <li {if $module=='product'}class="cur"{/if}><a href="/{$_lang.company_path}/?m=product"><i class="page"></i><em>商品管理</em></a></li>
  <li {if $module=='order' }class="cur"{/if}><a href="/{$_lang.company_path}/?m=order"><i class="order"></i><em>订单管理</em></a></li>
 </ul>
 </div>
</div>
<div id="dcMain">
	<!-- 当前位置 -->
	<div id="urHere">{$_lang.title}<b>></b>企业名片{if !empty($nav)}<b>></b><strong>{$nav}</strong>{/if} </div>   
	<div id="mMain">
		<div class="mainBox">
			{include file="lib/{if $is_priv}{$module}.lbi{else}no_priv.lbi{/if}"}
		</div>
	</div>
</div>
{/if}

<div class="clear"></div>
<div id="dcFooter">
 <div id="footer">
  <div class="line"></div>
  <ul>
   Copyright&copy;2015　{$_lang.title}
  </ul>
 </div>
</div><!-- Footer 结束 -->
<div class="clear"></div> 
</div>

<script type="text/javascript" src="/{$_lang.company_path}/template/js/global.js"></script>
<script type="text/javascript" src="/{$_lang.company_path}/template/js/jquery.tab.js"></script>
<script type="text/javascript" src="/{$_lang.company_path}/template/js/common.js"></script>
<script type="text/javascript" src="/static/js/jquery.form.js"></script>
<script type="text/javascript" src="/{$_lang.company_path}/template/js/jquery.form.submit.js"></script>
<script type="text/javascript" src="/{$_lang.company_path}/template/js/calendar.js"></script>
</body>
</html>